package com.jiai.cloud.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by Administrator on 2017/5/31.
 */
@Controller
@RequestMapping(value="/goods")
public class OrderController {
    @RequestMapping(value = "/orderlist",method= RequestMethod.GET, produces = {"application/json;charset=UTF-8"})
    public ModelAndView orderlist(){
        ModelAndView view=new ModelAndView("goods/orderlist");
        try {
            view.addObject("goods",null);
        } catch (Exception e) {
            e.printStackTrace();
        }
            return view;
    }
}
